﻿using System;
using Loki.Data;
using Loki.Engine;

namespace Luna.Data.Test
{
    public abstract class DataTest<TService, TEntity> : BaseTest<TService, TEntity, Guid>
        where TService : class, IDataProvider
        where TEntity : class, IDataEntity<Guid>
    {
        public DataTest(string contextName)
            : base(contextName)
        {
        }

        public override Func<TEntity, Guid> KeyGetter
        {
            get { return x => x.PK; }
        }
    }
}